home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
DatabaseAccess.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
3KB
|
91 lines
/*
File: DatabaseAccess.idl
Contains: Database Access Manager Interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __DATABASEACCESS_IDL__
#define __DATABASEACCESS_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __RESOURCES_IDL__
#include <Resources.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
/* data type codes */
/* infinite timeout value for DBGetItem */
typedef OSType DBType;
typedef OpaquePtr DBAsyncParmBlkPtr; /* Substituted OpaquePtr for ``DBAsyncParamBlockRec*'' */
typedef OpaquePtr DBCompletionProcPtr;
typedef OpaquePtr DBCompletionUPP;
/* structure for asynchronous parameter block */
typedef SOMLargeStruct DBAsyncParamBlockRec; /* Derived from a struct of 18 bytes in size */
/* structure for resource list in QueryRecord */
typedef SOMLargeStruct ResListElem; /* Derived from a struct of 6 bytes in size */
typedef OpaquePtr ResListPtr; /* Substituted OpaquePtr for ``ResListElem*'' */
typedef OpaquePtr ResListHandle; /* Substituted OpaquePtr for ``ResListPtr*'' */
/* structure for query list in QueryRecord */
typedef OpaquePtr QueryArray; /* Substituted OpaquePtr for array of Handle of size 256 */
typedef OpaquePtr QueryListPtr; /* Substituted OpaquePtr for ``Handle*'' */
typedef OpaquePtr QueryListHandle; /* Substituted OpaquePtr for ``QueryListPtr*'' */
typedef SOMLargeStruct QueryRecord; /* Derived from a struct of 1118 bytes in size */
typedef OpaquePtr QueryPtr; /* Substituted OpaquePtr for ``QueryRecord*'' */
typedef OpaquePtr QueryHandle; /* Substituted OpaquePtr for ``QueryPtr*'' */
/* structure of column types array in ResultsRecord */
typedef OpaquePtr ColTypesArray; /* Substituted OpaquePtr for array of DBType of size 256 */
typedef Handle ColTypesHandle;
/* structure for column info in ResultsRecord */
typedef SOMLargeStruct DBColInfoRecord; /* Derived from a struct of 6 bytes in size */
typedef OpaquePtr ColInfoArray; /* Substituted OpaquePtr for array of DBColInfoRecord of size 256 */
typedef Handle ColInfoHandle;
/* structure of results returned by DBGetResults */
typedef SOMLargeStruct ResultsRecord; /* Derived from a struct of 16 bytes in size */
typedef OpaquePtr DBQueryDefProcPtr;
typedef OpaquePtr DBQueryDefUPP;
typedef OpaquePtr DBStatusProcPtr;
typedef OpaquePtr DBStatusUPP;
typedef OpaquePtr DBResultHandlerProcPtr;
typedef OpaquePtr DBResultHandlerUPP;
#endif
#endif /* __SOMIDL__ */
#endif /* __DATABASEACCESS_IDL__ */